This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~Tip Zenjumiverikle 16.Apr.03 03:08 PM a Web browser Applications Development6.0.1; 6.0Windows NT
I am currently trying to connect to a DB2 database from an agent. The first time the agent runs the connection is successful. After the first time, each time the agent runs i get the following error:
java.sql.SQLException: java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\SQLLIB\bin\db2jdbc.dll already loaded in another classloader
at COM.ibm.db2.jdbc.app.DB2Driver.<init>(Unknown Source)
- - - - - - - - - - - - - - - -
The db2java.zip is set in the agent properties NOT in notes.ini. The connection is set up in the following way:
url = "jdbc:db2:cart";
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
con = DriverManager.getConnection( url,"test","test");